define(['jquery'], ()=>{
   class Footer{
      constructor() {
         this.load()
      }

      //加载尾部
      load(){
         return new Promise(resolve => {
            //加载成功之后resolve
            $('footer').load('/html/modules/footer.html',resolve)
         })
      }
   }
   return new Footer()
});